package com.xh.model.table;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 海报组件属性表
 * </p>
 *
 * @author wen
 * @since 2021-07-08
 */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@TableName("t_poster_item")
@ApiModel(value="PosterItem对象", description="海报组件属性表")
public class PosterItem {

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.NONE)
    private Long id;

    @ApiModelProperty(value = "组件类型")
    private String t;

    @ApiModelProperty(value = "组件名称")
    private String name;

    @ApiModelProperty(value = "随机字符")
    private String uuid;

    @ApiModelProperty(value = "坐标X")
    private Integer x;

    @ApiModelProperty(value = "坐标Y")
    private Integer y;

    @ApiModelProperty(value = "宽")
    private Integer w;

    @ApiModelProperty(value = "高")
    private Integer h;

    @ApiModelProperty(value = "坐标Z")
    private Integer z;

    @ApiModelProperty(value = "坐标S")
    private Integer s;

    @ApiModelProperty(value = "颜色")
    private String color;

    @ApiModelProperty(value = "背景图URL")
    private String bgc;

    @ApiModelProperty(value = "静态参数")
    private String v;

    @ApiModelProperty(value = "动态参数")
    private String vd;

    private String fn;

    private Integer st;

    @ApiModelProperty(value = "是否激活状态[1-是 0-否]")
    private Integer active;

    @ApiModelProperty(value = "海报记录表ID")
    private Long posterId;


}
